/*
 * @Title: 静态路由列表
 * @Description:
 * @Author: 靖博君
 * @Date: 2024-02-22 11:04:17
 * @FilePath: /vue3-admin-naive-starter/src/router/constant.ts
 */
import type { RouteRecordRaw } from 'vue-router'

import Layout from "@/layout/index.vue";

const constantRoutes: RouteRecordRaw[] = [
  {
    name: '/',
    path: '/',
    redirect: '/home',
    component: Layout,
    children: [
      {
        name: 'home',
        path: '/home',
        component: () => import('@/views/home/home.vue')
      }
    ]
  },
  {
    name: 'login',
    path: '/login',
    component: () => import('@/views/login/login-container.vue'),
    meta: {
      title: '登录'
    }
  }
]
export default constantRoutes
